/*
============================================================================
 Name        : PluginUtility.h
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : CPluginUtility declaration
============================================================================
*/

#ifndef __PLUGINUTILITY_H__
#define __PLUGINUTILITY_H__

// INCLUDES
#include <e32std.h>
#include <e32base.h>

#include "PluginInterface.h"

class CEikMenuPane;
class CFbsBitmap;
class RHTTPSession;

// CLASS DECLARATION
class CPluginUtility
{
public: //new functions
	//Add a menu item to a menu pane
	IMPORT_C static void AddMenuItem(TInt aCommandId, TPtrC aText, CEikMenuPane* aMenuPane, TBool aDimmed = EFalse); 
	IMPORT_C static CFbsBitmap* CreateBitmapL(const TDesC& aMbmFileName, TInt aBitmapKey);
};

#define DELETE(x) if (x) {delete x; x = NULL;}

#endif // __PLUGINUTILITY_H__
